Skip to content

fix: Restore archived ciphers through the unarchive endpoint - #1565

Open
mvanhorn wants to merge 1 commit into
AChep:masterfrom
mvanhorn:fix/1526-vaultwarden-cipher-unarchive
Open

fix: Restore archived ciphers through the unarchive endpoint#1565
mvanhorn wants to merge 1 commit into
AChep:masterfrom
mvanhorn:fix/1526-vaultwarden-cipher-unarchive

Conversation

@mvanhorn

@mvanhorn mvanhorn commented Sep 2, 2026

Copy link
Copy Markdown

Teach CipherSyncOps to compare the server cipher’s archive state with the desired local state during an existing-cipher push. Keyguard 3.0.0 lets a user choose “Restore from archive,” but the item remains archived after synchronization with Vaultwarden 1.37.1 backed by PostgreSQL.

Restore an archived cipher without other content changes and verify sync sends the remote ID to PUT /api/ciphers/unarchive, performs the final GET, and returns a cipher whose archivedDate is null; Restore an archived cipher while changing another field and verify the normal cipher PUT occurs before the dedicated unarchive request, with the final GET reflecting both changes.

Closes #1526

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Unable to unarchive a archived item

1 participant